import Vue from 'vue'
import App from './App'

import uView from "uview-ui";
Vue.use(uView);
// 在 main.js 中全局注册指令

import { preventReClick } from './common/preventReClick';

Vue.directive('prevent-reclick', preventReClick);
//引入vuex
import store from './store'
//把vuex定义成全局组件
Vue.prototype.$store = store
import request from './common/myrequest.js'
Vue.prototype.$request=request
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
